<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="https://unpkg.com/vue@next"></script>
    <title>Document</title>
</head>
<body>
    <div id="app">
      <my-date-picker data-status="activated" @change="onChangeDate"></my-date-picker>
    </div>
    <script type="module">
      import { MyDatePicker } from './js/main.js'
      const app = Vue.createApp({
        data() {
          return {
          }
        },
        methods: {
            onChangeDate(e) {
                console.log(e.target.value)
            }
        }
      });
      app.component('my-date-picker', MyDatePicker)
      const vm = app.mount('#app');
    </script>
</body>
</html>